<template>
	<view class="container">
		<uv-tabs :list="list" @click="click" :current="current"  lineColor="#FD7601"
			:activeStyle="{color: '#FD7601',fontWeight: 'bold'}" :inactiveStyle="{color: '#000',transform: 'scale(0.9)'}"  itemStyle="flex:1; height: 34px;">
		</uv-tabs>
	</view>
</template>

<script>
	import {
		mapState,
		mapActions
	} from 'vuex';
	export default {
		components: {

		},
		computed: {
			...mapState(['common', 'user', 'update'])
		},
		data() {
			return {
				current:0,
				list:[
					{
						name:"可预约",
					},
					{
						name:"已预约",
					},
					{
						name:"预约记录",
					}
				]
			}
		},
		onLoad() {

		},
		onShow() {

		},
		methods: {
			click(e){
				console.log(e)
			}

		}

	}
</script>

<style lang="scss">
	page {
		background: #f6efe9;
	}
	.uv-tabs ::v-deep .uni-scroll-view-content{
		width: 100%;
		display: flex;
		justify-content: space-evenly;
	}
	
	

</style>

<style>
	/* Vue单文件组件的<style>部分 */
	>>> .uv-tabs__wrapper__nav__item {
	  /* 你的样式 */
	  flex: 1;
	}
</style>